
const app = require("./app")
const http = require('http')
const server = http.createServer(app)
const root = require("./router/root")
const user = require("./router/user")
const utils = require("./router/utils")

app.use("/", root)
app.use("/user", user)
app.use("/utils", utils)
const port = 9000
server.listen(port, () => {
    console.log(`server running on port ${port}`)
})